package com.baor.service;

import com.baor.domain.AdminVo;
import com.baor.utils.AjaxResult;

import java.net.UnknownHostException;
import java.util.Map;

public interface AdminService {
    AjaxResult<?> login(AdminVo userVo);
    AjaxResult<?> list(Map<String,Object> params);
    AjaxResult<?> insert(AdminVo adminVo) throws UnknownHostException;
    AjaxResult<?> delete(int adminId);
    AjaxResult<?> update(AdminVo adminVo);
    AjaxResult<?> shopAdmin(int adminId);
}
